﻿using System;

namespace Resn.WhuPub.BLL
{
        /// <summary>
        /// 实现智能查询特性
        /// </summary>
        public class QueryAttribute : Attribute
        {
                #region 构造函数
                /// <summary>
                /// 初始化查询特性
                /// </summary>
                /// <param name="name">名称</param>
                public QueryAttribute(string name)
                {
                        Name = name;
                } 
                #endregion

                #region 属性
                /// <summary>
                /// 获取或设置查询项目名称
                /// </summary>
                /// <value>
                /// 名称
                /// </value>
                public string Name { get; private set; } 
                #endregion
        }
}